#include "cyber/common/log.h"

namespace cyber {
namespace common {


/*单例模式构造函数*/
Logger& Logger::Instance() {
    static Logger instance;
    return instance;
}
/*写日志*/
void Logger::WriteLog(LogLevel level, const std::string& message) {
    std::cout << "[" << level << "] " << message << std::endl;
}

}  // namespace common
}  // namespace cyber 